<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>后台登录</title>
    <meta name="author" content="DeathGhost" />
    <link rel="stylesheet" type="text/css" href="{$Think.__PUBLIC__}/admin/css/login.css?v={php}echo time(){/php}" tppabs="css/style.css" />
    <link rel="stylesheet" type="text/css" href="{$Think.__PUBLIC__}/layui/css/layui.css" />
    <style>
        body{height:100%;background:#16a085;overflow:hidden;}
        canvas{z-index:-1;position:absolute;}
    </style>
    <script src="{$Think.__PUBLIC__}/admin/js/jquery.js"></script>
    <script src="{$Think.__PUBLIC__}/admin/js/Particleground.js" tppabs="js/Particleground.js"></script>
    <script type="text/javascript" src="{$Think.__PUBLIC__}/layui/layui.js"></script>
    <script type="text/javascript" src="{$Think.__PUBLIC__}/admin/js/xwy.js?v={php}echo time(){/php}"></script>
    <script>
        $(document).ready(function() {
            //粒子背景特效
            $('body').particleground({
                dotColor: '#5cbdaa',
                lineColor: '#5cbdaa'
            });
        });
    </script>
</head>
<body>
<form action="{:url('login')}" id="login" method="post">
    <dl class="admin_login">
        <dt>
            <strong>后台管理系统</strong>
            <em>Management System</em>
        </dt>
        <dd class="user_icon">
            <input type="text" name="username" placeholder="账号" class="login_txtbx"/>
        </dd>
        <dd class="pwd_icon">
            <input type="password" name="password" placeholder="密码" class="login_txtbx"/>
        </dd>
        <dd class="val_icon">
            <div class="checkcode">
                <input type="text" name="code" id="J_codetext" placeholder="验证码" maxlength="5" class="login_txtbx">
                <img  class="J_codeimg" id="captcha_img" onclick="this.src='{:captcha_src()}?d='+Math.random();" alt="点击更换" title="点击更换" src="{:captcha_src()}" class="m">
            </div>
        </dd>
        <dd>
            <input target-form="login"  type="button" value="立即登陆" class="submit_btn ajax-post 13keyCode"/>
        </dd>
        <dd>
            <p>© 2015-2016 谢五羊 版权所有</p>
            <p>湘B2-8998988-1</p>
        </dd>
    </dl>
</form>
</body>
<script>
    var CodeRefresh = function () {
        $("#captcha_img").trigger("click");
    }
</script>
</html>
